import request from '../../config/request'

// 班级查询
export const loadAdminClass = function (params = {}) {
  return request({
    url: '/api/v1/admin/class',
    method: 'get',
    params: params,
  })
}

// 班级删除
export const removeAdminClass = function (class_id = '') {
  return request({
    url: '/api/v1/admin/class',
    method: 'delete',
    params: {
      class_id: class_id,
    },
  })
}
